package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @program: sdy-dcsb
 * @author: Lx
 * @create: 2019-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence(value = "SEQ_ESB_ATOMSERVICE", clazz = Integer.class)
public class EsbAtomservice extends BaseModel {
    private static final long serialVersionUID = 1L;

    private Integer id;

    // 系统id
    private Integer systemId;

    // 原子服务名称
    private String atomserviceName;

    // 原子服务编码
    private String atomserviceCode;

    //接口适配类型
    private String adapterType;

    //请求头类型
    private String contentType;

    // 最大连接数
    private String maxClients;

    //原子服务版本
    private String atomserviceVersion;

    // 状态
    private String status;

    //超时时间
    private String overTime;

    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date createTime;

    //更新时间
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date updateTime;

}
